/*
 * AvatarAbiltyResource.h
 *
 *  Created on: 2013. 11. 8.
 *      Author: mega@gamevil.com
 */

#ifndef AVATARABILTYRESOURCE_H_
#define AVATARABILTYRESOURCE_H_

#include <map>

namespace ProjectZ { namespace NResource {

class AvatarAblityResource
{
public:
	struct Flyweight
	{
		int _LEVEL;
		int _ADD_MIN;
		int _ADD_MAX;
		int _NEED_ZEN;
	};

public:
	typedef std::map<int, Flyweight *> AVATARABLITYTREE;

public:
	AvatarAblityResource();
	virtual ~AvatarAblityResource();

public:
	bool			LoadResource();
	Flyweight * 	GetFly(int level);

private:
	void	Clear();

private:
	AVATARABLITYTREE	clsFlyTree;
};

} /*namespace NResource*/ } /*namespace ProjectZ*/


#endif /* AVATARABILTYRESOURCE_H_ */
